<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title><?php if(isset($site_title)):?><?php echo $site_title?> - <?php endif;?><?php echo $this->settings_lib->site_name?></title>
<?php echo css('admin/admin.css');?>
<?php echo css('admin/idtabs/idtabs.css');?>
<?php echo css('admin/notifications.css');?>
<?php echo css('admin/pagination.css');?>

<?php echo css('admin/menu/dropdown.css');?>
<?php echo css('admin/menu/default.css');?>
<?php echo css('admin/menu/default.ultimate.css');?>

<!--[if IE]>
<?php echo css('admin/line_ie.css');?>
<![endif]-->
<!--  jquery core -->
<?php echo js('jquery/jquery.min.js');?>
<?php echo js('jquery/idtabs/jquery.idTabs.min.js');?>
<!--  checkbox styling script -->
<?php echo js('jquery/jquery-ui.min.js');?>
<?php echo js('jquery/ui.checkbox.js');?>
<?php echo js('jquery/jquery.bind.js');?>

<!--[if lt IE 7]>
<?php echo js('jquery/menu/jquery.dropdown.js');?>
<![endif]-->
<script type="text/javascript">
$(function(){
	$('input').checkBox();
	$('#toggle-all').click(function(){
	 	$('#toggle-all').toggleClass('toggle-checked');
		$('#mainform input[type=checkbox]').checkBox('toggle');
		return false;
	});
	$("div.message, div.error, div.notification, div.success").live("click",function(){$(this).slideUp()});
});
</script>  

<script type="text/javascript">
	var APPPATH_URI					= "<?php echo APPPATH_URI;?>";
	var SITE_URL					= "<?php echo rtrim(site_url(), '/').'/';?>";
	var BASE_URL					= "<?php echo BASE_URL;?>";
	var BASE_URI					= "<?php echo BASE_URI;?>";
	var UPLOAD_PATH					= "<?php echo UPLOAD_PATH;?>";
	var DEFAULT_TITLE				= "<?php echo addslashes($this->settings_lib->site_name); ?>";
</script>
<?php echo js('jquery/jquery.selectBox.min.js')?>
<?php echo css('admin/jquery.selectBox.css')?>
<script type="text/javascript">
$(document).ready(function() {
	$('.select_box').selectBox();
});
</script>

<!--  styled file upload script --> 
<?php echo js('jquery/jquery.filestyle.js')?>
<script type="text/javascript" charset="utf-8">
  $(function() {
      $("input.file_1").filestyle({ 
          image: "<?php echo image_url('admin/forms/choose-file.gif')?>",
          imageheight : 21,
          imagewidth : 78,
          width : 310
      });
  });
</script>

<!-- Custom jquery scripts -->
<?php echo js('jquery/custom_jquery.js')?>
<!-- Tooltips -->
<?php echo js('jquery/jquery.tooltip.js')?>
<?php echo js('jquery/jquery.dimensions.js')?>
<script type="text/javascript">
$(function() {
	$('a.info-tooltip').tooltip({
		track: true,
		delay: 0,
		fixPNG: true, 
		showURL: false,
		showBody: " - ",
		top: -35,
		left: 5
	});
});
</script> 


<!--  date picker script -->
<?php echo css('admin/datePicker.css')?>
<?php echo js('jquery/date.js')?>
<?php echo js('jquery/jquery.datePicker.js')?>

<!--[if IE 7]>
<style>
.usual-tab {
 	width:900px;
 	min-width:900px;
}
.usual-tab ul a {
  display:block;
  padding:6px 10px;  
  height:26px;
  text-decoration:none!important;
  margin:1px;
  margin-left:0;
  font:10px Verdana;
  color:#FFF;
  background:#444;
}
</style>
<![endif]-->
<!-- MUST BE THE LAST SCRIPT IN <HEAD></HEAD></HEAD> png fix -->
<script type="text/javascript">
$(document).ready(function(){
$(document).pngFix( );
});
</script>
<?php echo js('jquery/jquery.pngFix.pack.js')?>